package org.report4service.utils;

import javax.microedition.lcdui.Command;

/**
 * Commands shared in the entire application
 * 
 * @author Jmpango
 * 
 */
public class CommandPool {

    /** Command for accepting selection. */
    public static Command btnYes = new Command(TextPool.YES(), Command.OK, 1);

    /** Command for accepting selection. */
    public static Command btnOk = new Command(TextPool.OK(), Command.OK, 1);

    /** Command for return back. */
    public static Command btnBack = new Command(TextPool.BACK(), Command.BACK, 1);

    /** Command for cancelling selection. */
    public static Command btnNo = new Command(TextPool.NO(), Command.CANCEL, 2);

    /** Login buttton */
    public static Command btnLogin = new Command(TextPool.LOGIN(), Command.SCREEN, 1);

    /** Exit button */
    public static Command btnExit = new Command(TextPool.EXIT(), Command.EXIT, 2);

    /** Logout button */
    public static Command btnLogout = new Command(TextPool.LOGOUT(), Command.EXIT, 1);

     /** Select button */
    public static Command btnSelect = new Command(TextPool.SELECT(), Command.ITEM, 1);

     /** Select button */
    public static Command btnEdit = new Command(TextPool.EDIT(), Command.ITEM, 2);

    /** Report button */
    public static Command btnReport = new Command(TextPool.REPORT(), Command.ITEM, 3);

    /** Settings button */
    public static Command btnSetting = new Command(TextPool.SETTINGS(), Command.ITEM, 4);

    /** About button */
    public static Command btnAbout = new Command(TextPool.ABOUT(), Command.ITEM, 5);

    /** Logout button */
    public static Command btnLogoutScreen = new Command(TextPool.LOGOUT(), Command.EXIT, 1);

    /** Save button */
    public static Command btnSave = new Command(TextPool.SAVE(), Command.OK, 1);

}
